/* pages/detectFail/detectFail.wxss */
page {
  background: #f5f6f8;
}

.container {
  padding: 30rpx;
}

.top-container {
  margin-top: 20rpx;
  padding: 40rpx 30rpx;
  background: #ffffff;
  border-radius: 20rpx;
  display: flex;
  flex-direction: row;
  width: 630rpx;
  justify-content: space-between;

  .image-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: 1rpx solid #e5e5e5;
    height: 270rpx;
    width: 230rpx;

    image {
      width: 230rpx;
      height: 270rpx;
    }
  }

  .right-container {
    display: flex;
    flex-direction: column;

    .reason-title {
      width: 360rpx;
      height: 66rpx;
      background: #f5f6f9;
      border-radius: 10rpx;
      display: flex;
      align-items: center;

      image {
        margin-left: 20rpx;
        width: 25rpx;
        height: 27rpx;
      }

      text {
        font-size: 24rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #828384;
        vertical-align: baseline;
        line-height: 66rpx;
      }
    }

    .reason-content {
      margin-top: 30rpx;
      display: flex;
      align-items: center;

      image {
        width: 30rpx;
        height: 30rpx;
        margin-right: 13rpx;
      }

      text {
        font-size: 28rpx;
        font-weight: 400;
        color: #262626;
      }
    }
  }
}

.bottom-container {
  margin-top: 20rpx;
  padding: 40rpx 30rpx;
  background: #ffffff;
  border-radius: 20rpx;
  display: flex;
  flex-direction: column;
  width: 630rpx;

  .example {
    margin-top: 40rpx;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .badge {
      position: absolute;
      width: 110rpx;
      height: 40rpx;
      background: linear-gradient(-46deg, #6e75ee, #9399fc);
      border-radius: 4rpx 0px 25rpx 0px;

      font-size: 20rpx;
      text-align: center;
      font-weight: 500;
      color: #FFFFFF;
      line-height: 40rpx;
    }

    .example-right {
      margin-left: 30rpx;
      display: flex;
      flex: 1;
      align-items: flex-start;

      .image {
        width: 30rpx;
        height: 30rpx;
        margin-right: 13rpx;
      }

      .text {
        font-size: 28rpx;
        font-weight: 400;
        color: #262626;
      }
    }

    image {
      width: 229rpx;
      height: 270rpx;
      border-radius: 4rpx;
      border: 1rpx solid #e5e5e5;
    }
  }

  text {
    font-size: 30rpx;
    font-weight: 600;
    color: #262626;
    line-height: 30rpx;
  }
}

.button-wraper {
  width: 690rpx;
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: constant(safe-area-inset-bottom);
  /* 兼容 iOS < 11.2 */
  bottom: env(safe-area-inset-bottom);
  margin-bottom: 20rpx;

  .select-button {
    width: 330rpx;
    padding: 36rpx 0rpx;
    line-height: 30rpx;
    background: #EBECFF;
    border-radius: 20rpx;
    font-size: 30rpx;
    font-weight: 600;
    color: #555DF5;
  }

  .take-button {
    width: 330rpx;
    padding: 36rpx 0rpx;
    line-height: 30rpx;
    background: #555DF5;
    border-radius: 20rpx;
    font-size: 30rpx;
    font-weight: 600;
    color: #FFFFFF;
  }
}